package com.example.friend.mapper.user;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.friend.domain.user.User;
import com.example.friend.domain.user.UserSubmit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserSubmitMapper  extends BaseMapper<User> {

    UserSubmit selectCurrentUserSubmit(
            @Param("userId") Long userId,
            @Param("examId") Long examId,
            @Param("questionId") Long questionId,
            @Param("currentTime") String currentTime
    );

    List<Long> selectHostQuestionList();
}
